package com.cw.lang.validator.constants;

import com.cw.lang.validator.constraints.CheckWith;
import com.cw.lang.validator.constraints.MobilePhoneCheck;

/**
 * @author chenw
 * @version $$Id: ValidatorConstants.java, v 0.1 2018/12/19 6:34 PM chenw Exp $$
 */
public class ValidatorConstants {

    private ValidatorConstants() {
    }

    /** {@link CheckWith#message()}的默认值 */
    public static final String CHECK_WITH_DEFAULT_MESSAGE = "自定义校验器校验失败";

    /** {@link MobilePhoneCheck#message()}的默认值 */
    public static final String CHECK_MOBILE_PHONE_MESSAGE = "不是有效的手机号码格式";

    /** {@link MobilePhoneCheck#regexp()}的默认值 */
    public static final String CHECK_MOBILE_PHONE_REGEXP = "^0?(13|15|16|19|18|14|17)[0-9]{9}$";

}
